package com.victor.dao;

import org.apache.ibatis.annotations.Mapper;

import com.victor.entity.TravelFocus;
@Mapper
public interface TravelFocusDao {
	/**
	 * 删除关注
	 * @param id
	 * @return
	 */
    boolean deleteByPrimaryKey(Integer id);
    /**
     * 添加关注
     * @param record
     * @return
     */
    boolean insertSelective(TravelFocus record);

    TravelFocus selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TravelFocus record);

    int updateByPrimaryKey(TravelFocus record);
    /**
     * 查询是否关注
     * @param travelFocus
     * @return
     */
	TravelFocus selByUidAndPid(TravelFocus travelFocus);
}